<?php
/*
Template Name:WebSite Search
*/
?>
<?php get_header(); ?>
  <div id="contents" class="clearfix">

   <div id="left_col">
<?php $options = get_option('mc_options'); ?>

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

    <div class="post clearfix" id="single_post">
     <div class="post_content_wrapper">
      <h2 class="post_title"><span><?php the_title(); ?></span></h2>
      <div class="post_content">
	<?php the_content(__('Read more', 'monochrome')); ?>
	<div id="search_area_wp" >
	<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
	     <div><input type="text" value="请在此输入您要搜索的内容" name="s" id="search_input_wp" onblur="if (this.value == '') {this.value = '请在此输入您要搜索的内容';}" onfocus="if (this.value =='请在此输入您要搜索的内容') {this.value = '';}" /></div>
	     <div><input type="image" src="<?php bloginfo('template_url'); ?>/img/search_button.gif" alt="<?php _e('Search from this blog.','monochrome'); ?>" title "<?php _e('Search from this blog.','monochrome'); ?>" onClick="_gaq.push(['_trackEvent', 'InSiteSearch', 'WP']);" id="search_button_wp" /></div>
	</form>
	</div>
      </div>
     </div>
    </div>

<?php endwhile; else: ?>
    <div class="post_odd">
     <div class="post clearfix">
      <div class="post_content_wrapper">
       <?php _e("Sorry, but you are looking for something that isn't here.","monochrome"); ?>
      </div>
      <div class="post_meta">
      </div>
     </div>
    </div>
<?php endif; ?>

    <div class="content_noside">
     <?php include('navigation.php'); ?>
    </div>

   </div><!-- #left_col end -->

   <?php get_sidebar(); ?>

  </div><!-- #contents end -->

  <div id="footer">
<?php get_footer(); ?>
